home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Apr 89 / T0009-Re KanjiTalkTalk-Apr89 < prev    next >
Encoding:
Text File  |  1989-04-12  |  2.1 KB  |  51 lines  |  [TEXT/GEOL]

  1. Item    7163117                         12-April-89        05:18
  2.  
  3. From:   CANNON1                         Japan - Tech, Joel Cannon
  4.  
  5. To:     D1220                           Vari-Lite, Andy Meldrum, PRT
  6.  
  7. cc:     CANNON1                         Japan - Tech, Joel Cannon
  8.         MACAPP.TECH$                    MACAPP Tech
  9.  
  10. Sub:    Re- KanjiTalkTalk
  11.  
  12. Dear Andy Meldrum,
  13.  
  14. Sorry for the slow response, but let me try to answer a few of your questions
  15. about KanjiTalk.
  16.  
  17. I am anxious to start using MacApp myself, but I have not had time as yet.
  18. (Maybe in June.)  I have taken the Dev Ed class and I am familiar with it, but
  19. unfortunately, I can't warn you what problems you might have.
  20.  
  21. In general, everything should be transparent.  But where I have seen the most
  22. common design mistakes is when things are designed with special fonts.  If you
  23. use the default System/Application fonts or supply a font menu then things are
  24. OK.  If you follow the guidelines of the ScriptManager and don't do any weird
  25. text stuff(word processing), then things seem to work with no problem.
  26.  
  27. To be ScriptManager compatible, don't assume that a character is either 1 or 2
  28. bytes long, use CharByte or ParseTable (see The ScriptManager 2.0; IM
  29. Additional Chapters 2/89) to check the length.  Kanji strings are simply
  30. special combinations of double byte 8 bit characters.  (There are single byte
  31. characters in the Japanese character set too, ie: "ABC" "123" and 1 byte
  32. Hiragana.)  The Kanji strings look like a lot of greek "øπ∏∫◊√∂ß" when they are
  33. displayed with a Roman Script Font (ie Geneva).
  34.  
  35. About your question of handling Str255s, if you use TextEdit type routines,
  36. then they will be returning a packed array of characters which you will need to
  37. truncate to 255 characters or less.  The truncation routine should respect
  38. character boundaries and take the maximum length in bytes (not characters) of
  39. the destination.  I assume that all of the ROM Calls that use Str255 should be
  40. in working order.
  41.  
  42. Sorry that I don't have better answers, but I'd never write anything if I
  43. always waited until I understood everything about the Mac.
  44.  
  45. Good Luck,
  46.  
  47. Joel Cannon
  48. Technical Support
  49. Apple Japan, Tokyo
  50.  
  51.